
<div class="span10">
          <div class="row-fluid">
            <div class="span12 box">
                <div class="box-head">
                    <h3><i class="icon-white icon-file"></i> Nama Divisi</h3>
                </div>
                <div class="box-content">
                 <div class="content-inner">
                   <?php echo form_error('menu', '<div class="alert alert-info"><button type="button" class="close" data-dismiss="alert"><i class="icon-fullscreen"></i></button>', '</div>'); ?>
				   <?php echo form_error('url', '<div class="alert alert-info"><button type="button" class="close" data-dismiss="alert"><i class="icon-fullscreen"></i></button>', '</div>'); ?>
                  
                   <form class="form-horizontal" method="post" action="<?php echo base_url();?>admin/menu/update" enctype="multipart/form-data">
                   <?php foreach($data as $r): ?>
                   <input type="hidden" name="id" value="<?php echo $r['id_menu']; ?>">
                           <div class="control-group">
	      						<label class="control-label">Nama Menu</label>
                                <div class="controls">
                           				<input type="text" placeholder="Nama Divisi" name="menu" class="input-xxlarge" value="<?php echo $r['menu']; ?>"> 
                                </div>
                          </div>
						  
						  <div class="control-group">
	      						<label class="control-label">URL</label>
                                <div class="controls">
                           				<div class="input-prepend input-append">
										  <span class="add-on">http://</span>
										  <input id="appendedPrependedInput" type="text" name="url" placholder="" value="<?php echo $r['url']; ?>">
										  
										</div> 
                                </div>
                          </div>
                          
                          <div class="control-group">
	      						<label class="control-label">Status</label>
                                <div class="controls">
                           				<select name="status"><option value="<?php echo $r['status'];?>"><?php echo $r['status'];?></option>
                                        	<option value="enable">enable</option>
                                            <option value="disable">disable</option>
                                        </select>
                                </div>
                          </div>
                            
                            <div class="control-group">
	      						<label class="control-label">&nbsp;</label>
                                <div class="controls">
                           			<input type="submit" class="btn btn-primary" value="Simpan" />
                                    <input type="reset" class="btn btn-danger" value="Reset" />
                           		</div>
                           </div>
                                <!--<button type="submit" class="btn btn-primary" onClick="ste.submit();">Publish &#43;</button> -->
                         <?php endforeach; ?>
                        </form>
                </fieldset>
              </div>
            </div>
          </div> <!-- end row -->
          
        </div>
</div>
        